package com.chance.cc.crawler.prod.command.node.yidianzixun;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.yidianzixun.realtime.YDZXRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.yidianzixun.trace.YDZXCommentTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.yidianzixun.trace.YDZXTraceCrawlerSchedulerJob;

/**
 * @author lt
 * @version 1.0
 * @date 2021-05-10 11:30:17
 * @email okprog@sina.com
 */
public class YDZXCrawlerNode {

    public static CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.219",9505);

    public static void main(String[] args) {
//        crawlerNodeCommand.killCrawler(YDZXRealtimeCrawlerSchedulerJob.crawlerScheduler());
        crawlerNodeCommand.killCrawler(YDZXCommentTraceCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(YDZXTraceCrawlerSchedulerJob.crawlerScheduler());

        crawlerNodeCommand.nodeStatus();
    }
}
